import { Component, OnInit } from '@angular/core';
import {MdDialogRef} from "@angular/material";
import {Router} from "@angular/router";

@Component({
  selector: 'app-menu-desktop',
  templateUrl: './menu-desktop.component.html',
  styleUrls: ['./menu-desktop.component.scss']
})
export class MenuDesktopComponent implements OnInit {


  constructor(public dialogRef: MdDialogRef<MenuDesktopComponent>,
              private router:Router,
              ) { }

  ngOnInit() {

  }



  goRouting(e,routerUrl){
    this.router.navigate([routerUrl]);
    this.dialogRef.close({status:false});
  }
}
